﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CsharpTrainer.Model.Entities;
using CsharpTrainer.Core.DAL;
using CsharpTrainer.Domain.Services;

namespace CsharpTrainer.Domain.Clients
{
    public class ContactClient
    {
        private ContactService _contactService;

        public ContactClient()
        {
            this._contactService = new ContactService(new PostContactDao());
        }

        public ContactInfo GetContact(int contactId)
        {
            return _contactService.GetContact(contactId);
        }
    }
}
